package edu.zut.cs.software.propertymanagement.admin.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import edu.zut.cs.software.base.domain.BaseEntity;


	@Table(name = "T_ADMIN") // 声名数据库表	
	@Entity 
	public class Admin  extends BaseEntity{		
		  /**
		 * 
		 */
		private static final long serialVersionUID = -2200349389659401330L;

		@Column(name="PASSWORD")
	      String password;
		@Column(name="USERNAME")
		  String username;

		public String getUsername() {
			return username;
		}
		public void setUsername(String username) {
			this.username = username;
		}		
		public String getPassword() {
			return password;
		}
		public void setPassword(String password) {
			this.password = password;
		}
}
